<!DOCTYPE html>
<html lang="en-US">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>Members | $rxTools</title>
    <meta name="description" content="校管家前端团队工具库">
    <script src="/tools/rx.tools.js"></script>
    
    <link rel="preload" href="/tools/assets/css/styles.a1269b41.css" as="style"><link rel="preload" href="/tools/assets/js/app.a1269b41.js" as="script"><link rel="preload" href="/tools/assets/js/5.39105aa8.js" as="script"><link rel="prefetch" href="/tools/assets/js/4.b52bbfe2.js"><link rel="prefetch" href="/tools/assets/css/1.styles.5a8ea794.css"><link rel="prefetch" href="/tools/assets/js/1.5a8ea794.js"><link rel="prefetch" href="/tools/assets/css/2.styles.35543169.css"><link rel="prefetch" href="/tools/assets/js/2.35543169.js"><link rel="prefetch" href="/tools/assets/js/3.15e12b4b.js"><link rel="prefetch" href="/tools/assets/js/6.27ca699b.js"><link rel="prefetch" href="/tools/assets/js/7.86895104.js"><link rel="prefetch" href="/tools/assets/js/8.d01f9c0e.js"><link rel="prefetch" href="/tools/assets/js/9.5494f412.js"><link rel="prefetch" href="/tools/assets/js/10.7f3024d4.js"><link rel="prefetch" href="/tools/assets/js/11.6790e062.js">
    <link rel="stylesheet" href="/tools/assets/css/1.styles.5a8ea794.css"><link rel="stylesheet" href="/tools/assets/css/2.styles.35543169.css"><link rel="stylesheet" href="/tools/assets/css/styles.a1269b41.css">
  </head>
  <body>
    <div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/tools/" class="home-link router-link-active"><!----> <span class="site-name">$rxTools</span></a> <div class="links" style="max-width:nullpx;"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <!----></div></header> <div class="sidebar-mask"></div> <div class="sidebar"><!---->  <ul class="sidebar-links"><li><div class="sidebar-group first"><p class="sidebar-heading open"><span>浏览器环境</span> <!----></p> <ul class="sidebar-group-items"><li><a href="/tools/brower/env.html" class="active sidebar-link">环境变量</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/tools/brower/env.html#members" class="sidebar-link">Members</a></li><li class="sidebar-sub-header"><a href="/tools/brower/env.html#getscrollbarwidth-⇒-number" class="sidebar-link">getScrollbarWidth ⇒</a></li><li class="sidebar-sub-header"><a href="/tools/brower/env.html#docready" class="sidebar-link">docReady</a></li></ul></li><li><a href="/tools/brower/event.html" class="sidebar-link">事件处理</a></li><li><a href="/tools/brower/element.html" class="sidebar-link">元素相关</a></li></ul></div></li><li><div class="sidebar-group"><p class="sidebar-heading"><span>javascript 工具</span> <!----></p> <ul class="sidebar-group-items"><li><a href="/tools/ext/array.html" class="sidebar-link">数组</a></li><li><a href="/tools/ext/date.html" class="sidebar-link">日期</a></li><li><a href="/tools/ext/number.html" class="sidebar-link">数值</a></li><li><a href="/tools/ext/object.html" class="sidebar-link">对象</a></li><li><a href="/tools/common.html" class="sidebar-link">其他</a></li></ul></div></li></ul> </div> <div class="page"> <div class="content"><p>#Env</p> <h2 id="members"><a href="#members" aria-hidden="true" class="header-anchor">#</a> Members</h2> <dl><dt><a href="#getScrollbarWidth">getScrollbarWidth</a> ⇒ <code>Number</code></dt> <dd><p>获取滚动条宽度值</p></dd> <dt><a href="#docReady">docReady</a></dt> <dd><p>类似$()</p></dd></dl> <p><a name="getScrollbarWidth"></a></p> <h2 id="getscrollbarwidth-⇒-number"><a href="#getscrollbarwidth-⇒-number" aria-hidden="true" class="header-anchor">#</a> getScrollbarWidth ⇒ <code>Number</code></h2> <p>获取滚动条宽度值</p> <p><strong>Kind</strong>: global variable<br> <strong>Returns</strong>: <code>Number</code> - 宽度值<br> <a name="docReady"></a></p> <h2 id="docready"><a href="#docready" aria-hidden="true" class="header-anchor">#</a> docReady</h2> <p>类似$()</p> <p><strong>Kind</strong>: global variable</p> <table><thead><tr><th>Param</th> <th>Type</th> <th>Description</th></tr></thead> <tbody><tr><td>backfn</td> <td><code>function</code></td> <td>回调函数</td></tr></tbody></table> <p><strong>Example</strong></p> <div class="language-js extra-class"><pre class="language-js"><code>$rxTool<span class="token punctuation">.</span>env<span class="token punctuation">.</span><span class="token function">docReady</span><span class="token punctuation">(</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">=&gt;</span><span class="token punctuation">{</span>console<span class="token punctuation">.</span><span class="token function">log</span><span class="token punctuation">(</span><span class="token string">'docReady'</span><span class="token punctuation">)</span><span class="token punctuation">}</span><span class="token punctuation">)</span>
</code></pre></div></div> <div class="page-edit"><!----> <!----></div> <div class="page-nav"><p class="inner"><!----> <span class="next"><a href="/tools/brower/event.html">
          事件处理
        </a>
        →
      </span></p></div> </div> <!----></div></div>
    <script src="/tools/assets/js/5.39105aa8.js" defer></script><script src="/tools/assets/js/app.a1269b41.js" defer></script>
  </body>
</html>
